﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Se7en.Admin.Model
{

    public enum MessageType
    {
        Warning = 1,
        Success = 0,
    }

    public enum SavingResults : int
    {
        Success = 0,
        UnknownError = 1,
        ReferenceConflict = 2,
        ArrayTypeMismatch = 3,
        CoreException = 4,
        DivideByZeroException = 5,
        FormatException = 6,
        IndexOutOfRangeException = 7,
        NullReferenceException = 8,
        OutOfMemoryException = 9,
        StackOverflowException = 10,

    }

    public enum Modes
    {

        [Description("Add")]
        Add = 0,

        [Description("Edit")]
        Edit = 1,

        [Description("Delete")]
        Delete = 2,

        [Description("View")]
        View = 3,
    }

    public enum RoleType
    {
        [Description("Admin")]
        Admin = 0,

        [Description("End User")]
        EndUser = 1
    }
}
